-
Home
-
Tiered Pricing Table for WooCommerce
-
3.6.0
-
Code
-
Classes
- PriceManager
| Total Complexity |
63 |
| Dependencies |
1 |
| Dependents |
12 |
| Total lines |
375 |
| Lines of code |
194 |
| Logical lines of code |
101 |
| Comment lines |
112 |
| Methods |
15 |
| Properties |
2 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getPriceRules() |
A |
48 |
10 |
35 |
| getPriceByRules() |
A |
48 |
10 |
33 |
| getProductQtyMin() |
S |
55 |
5 |
20 |
| updatePercentagePriceRules() |
S |
63 |
6 |
9 |
| getPricingType() |
S |
60 |
5 |
12 |
| getPriceWithTaxes() |
S |
56 |
4 |
19 |
| updateFixedPriceRules() |
S |
63 |
5 |
9 |
| getPricingRule() |
S |
57 |
3 |
17 |
| variationHasNoOwnRules() |
S |
63 |
4 |
10 |
| getPriceByPercentDiscount() |
S |
68 |
3 |
7 |
| updatePriceRulesType() |
S |
72 |
2 |
5 |
| updateProductQtyMin() |
S |
70 |
2 |
6 |
| calculateDiscount() |
S |
70 |
2 |
6 |
| getFixedPriceRules() |
S |
78 |
1 |
3 |
| getPercentagePriceRules() |
S |
78 |
1 |
3 |